package com.cly.entity;

import com.cly.base.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 题库表
 *
 * @author by 春风能解释
 * <p>
 * 2024-06-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@Schema(name = "题库表")
public class ProblemBank extends BaseEntity {

    /**
     * 序列化标识
     */
    @Serial
    private static final long serialVersionUID = -8899089513514215671L;
    /**
     * 题库名
     */
    @Schema(description = "题库名")
    private String name;
    /**
     * 描述
     */
    @Schema(description = "描述")
    private String description;
    /**
     * 单选题数量
     */
    @Schema(description = "单选题数量")
    private Integer singleCount;
    /**
     * 多选题数量
     */
    @Schema(description = "多选题数量")
    private Integer multiCount;
    /**
     * 判断题数量
     */
    @Schema(description = "判断题数量")
    private Integer judgeCount;
    /**
     * 主观题数量
     */
    @Schema(description = "主观题数量")
    private Integer subjectiveCount;
    /**
     * 题目数量
     */
    @Schema(description = "题目数量")
    private Integer problemNum;
    /**
     * 总分
     */
    @Schema(description = "总分")
    private Integer scoreSum;
    /**
     * 及格分
     */
    @Schema(description = "及格分")
    private Integer passScore;
    /**
     * 科目ID
     */
    @Schema(description = "科目ID")
    private Long subjectId;

}
